package t2.client;

import java.util.List;

import com.google.gwt.user.client.ui.DecoratorPanel;
import com.google.gwt.user.client.ui.DisclosurePanel;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.Grid;
import com.google.gwt.user.client.ui.FlexTable.FlexCellFormatter;
import com.google.gwt.user.client.ui.VerticalPanel;

public class XBeeDecoratorPanel extends VerticalPanel{
    
    private DecoratorPanel      decoratorPanel;
    private List<Row>           rows;
    private FlexTable           layout;
    private DisclosurePanel     disclosurePanel;
    private FlexCellFormatter   cellFormatter;
    private Grid                textPanel;



    public XBeeDecoratorPanel(
            DecoratorPanel decoratorPanel,
            List<Row> rows,
            FlexTable layout,
            DisclosurePanel disclosurePanel,
            FlexCellFormatter cellFormatter,
            Grid textPanel
            ){
                this.setDecoratorPanel(decoratorPanel);
                this.setRows(rows);
                this.setLayout(layout);
                this.setDisclosurePanel(disclosurePanel);
                this.setCellFormatter(cellFormatter);
                this.setTextPanel(textPanel);
    }



    public DecoratorPanel getDecoratorPanel(){
        return decoratorPanel;
    }
    public void setDecoratorPanel(DecoratorPanel decoratorPanel){
        this.decoratorPanel = decoratorPanel;
    }
    public void setRows(List<Row> rows) {
        this.rows = rows;
    }
    public List<Row> getRows() {
        return rows;
    }
    public void setLayout(FlexTable layout) {
        this.layout = layout;
    }
    public FlexTable getLayout(){
        return layout;
    }
    public void setDisclosurePanel(DisclosurePanel disclosurePanel) {
        this.disclosurePanel = disclosurePanel;
    }
    public DisclosurePanel getDisclosurePanel() {
        return this.disclosurePanel;
    }
    public void setCellFormatter(FlexCellFormatter cellFormatter) {
        this.cellFormatter = cellFormatter;
    }
    public FlexCellFormatter getCellFormatter() {
        return cellFormatter;
    }
    public void setTextPanel(Grid textPanel) {
        this.textPanel = textPanel;
    }
    public Grid getTextPanel() {
        return textPanel;
    }
}
